package com.yanyeori.framework.security.exception;

import com.yanyeori.framework.core.util.StringUtil;
import org.springframework.security.authentication.InternalAuthenticationServiceException;

/**
 * 用户登录密码输入错误次数超出限制异常
 *
 * @author chenkuan 2020/11/24
 */
public class PwdErrorTimesOverException extends InternalAuthenticationServiceException {
    public PwdErrorTimesOverException(String message, Object... params) {
        super(StringUtil.format(message, params));
    }

    public PwdErrorTimesOverException(Throwable t, String message, Object... params) {
        super(StringUtil.format(message, params), t);
    }
}
